/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package adsreis.com.Outros;

/**
 *
 * @author Pauroenriki
 */
public class RetirarMascaras {
    public RetirarMascaras(){
        
    }
    
    
    
    public String RetirarMascaraCPF(String CPF){
        String novo;
        String novo1;
        novo = CPF.replace(".", "");
        novo1 = novo.replace("/", "");
        
        return novo1;
        
    }
    public String RetirarMascaraRG(String RG){
        String novo;
        String novo1;
        novo = RG.replace(".", "");
        novo1 = novo.replace("-", "");
        
        return novo1;
        
    }
    public String RetirarMascaraTELEFONE(String FONE){
        String novo;
        String novo1;
        String novo2;
        novo = FONE.replace("(", "");
        novo1 = novo.replace(")", "");
        novo2 = novo1.replace("-", "");
        return novo2;
        
    }
}
